﻿<Window x:Class="InfFront.InfoViews.WPF.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="{Binding Path=Title, FallbackValue='InfFront WPF Console'}" 
    Height="{Binding Path=VisualSettings.MainWindowHeight, FallbackValue=400, Mode=TwoWay}"
    Width="{Binding Path=VisualSettings.MainWindowWidth, FallbackValue=700, Mode=TwoWay}" 
    xmlns:local="clr-namespace:InfFront.InfoViews.WPF"
    WindowStartupLocation="CenterScreen" Closing="Window_Closing"
    WindowState="{Binding Path=VisualSettings.MainWindowState, FallbackValue=Normal, Mode=TwoWay}"
        >
    <Window.Resources>
        <local:IconedObjectToNormal16x16ImageConverter x:Key="getNormal16x16Image"/>
    </Window.Resources>
    
    <Window.Icon>
        <Binding Converter="{StaticResource getNormal16x16Image}" />
    </Window.Icon>
    
    <local:MainFrame x:Name="mainFrame" Height="Auto" Width="Auto" />
</Window>
